GM.Name 	= "GMod Arc"
GM.Author 	= "Nican"
GM.Email 	= ""
GM.Website 	= ""

GM.TeamBased = true

GM.Teams = {"Red", "Blue"}
GM.DEBUG = true

TEAM_BLUE = 1
TEAM_RED = 2

RegisterNWTableGlobal({
	{"GameStartTime", 0, NWTYPE_LONG }
})

function GM:StartTime()
	return GetWorldEntity().GameStartTime
end

function GM:CreateTeams()

	// Don't do this if not teambased. But if it is teambased we
	// create a few teams here as an example. If you're making a teambased
	// gamemode you should override this function in your gamemode
	if ( !GAMEMODE.TeamBased ) then return end
	
	team.SetUp( 1, "Blue", Color( 25, 25, 200, 255 ), true )
	team.SetSpawnPoint( TEAM_BLUE, "info_player_start" )
	
	team.SetUp( 2, "Red", Color( 200, 25, 25, 255 ), true )
	team.SetSpawnPoint( TEAM_RED, "info_player_start" )

end